{extend name='admin@main'}

{block name="content"}

{include file='store@goods/form_style'}
<div class="layui-card-body think-box-shadow padding-left-40">
  <div class="layui-tab">
    
    <ul class="layui-tab-title">
     
      <li class="layui-this">兼职记录</li>
       {if auth("member/business/pubjobRecord")}
      <li ><a data-open="{:url('pubjobRecord')}?id={$userid}">兼职发布记录</a></li>
      {/if}
    </ul>
    <div class="layui-tab-content">

      <div class="layui-tab-item layui-show">

        <fieldset class="layui-elem-field layui-field-title" >
          <legend>兼职记录</legend>
        </fieldset>
        <table class="layui-table margin-top-10" lay-skin="line">
          <thead>
            <tr>
              <th>兼职标题</th>
              <th>兼职状态</th>
              <th>报名时间</th>
              <th>备注</th>
            </tr>
          </thead>
          <tbody>
            {foreach $list as $key=>$vo}
            <tr >
              <td>{$vo.jtitle}</td> 
              <td>{$vo.jstatus}</td>
              <td>{$vo.add_time}</td>
              <td>{$vo.replay|default=""}</td>
            </tr>
            {/foreach}
          </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

      </div>

    </div>
  </div>
</div>

{/block}

{block name='script'}

<script>
  window.form.render();
  layui.use('laydate', function(){
    var laydate = layui.laydate;
    //常规用法
    laydate.render({
      elem: '#test1'
    });
    laydate.render({
      elem: '#test2'
    });
    
  });

  require(['ckeditor', 'angular'], function () {
     window.createEditor('[name="content"]', {height: 200});
     window.createEditor('[name="content1"]', {height: 200});
     window.createEditor('[name="content2"]', {height: 200});
   });
</script>

{/block}